<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./vue.js"></script>
</head>
<body>
<div id="root">
    <div v-for="item in goodsList" :key="item.id">
        <h3>{{item.goodsName}}</h3>
        <p>价格：{{item.goodsPrice | currency("$",3)}}</p>
        <p>上架时间：{{item.addTime | date}}</p>
        <hr/>
    </div>
</div>
<hr/>
<div id="app">
    <div v-for="item in goodsList" :key="item.id">
        <h3>{{item.goodsName}}</h3>
        <p>价格：{{item.goodsPrice | currency("$",3)}}</p>
        <p>上架时间：{{item.addTime | date}}</p>
        <hr/>
    </div>
</div>
</body>
</html>